//app.js 赵少波
import { showAlert, ip_url } from 'utils/util'
App({
  onLaunch: function () {
    var logs = wx.getStorageSync('logs') || []
    logs.unshift(Date.now())
    wx.setStorageSync('logs', logs)
    // 登录
    wx.login({
      success: res => {
        console.log(res.code);
      }
    });
  },
  globalData: {
    userInfo: null
  }
})